<%@ page session="false"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/my.tld" prefix="my"%>
<%@ taglib uri="/WEB-INF/tld/user.tld" prefix="user"%>
<%@ taglib uri="/WEB-INF/tld/activity.tld" prefix="activity"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<c:import url="/WEB-INF/tpl/_include/_css.jsp" />
<body class="yui-skin-sam">
<div class="menubg ">
<div id="doc4" class="yui-t5">
   <div id="bd">
	<div id="yui-main">
	<div class="yui-b"><div class="yui-g">
	<!-- menu begin-->
         <c:import url="/WEB-INF/tpl/_include/_header2.jsp" />
	<!-- menu over-->
	</div>
</div>
	</div>
	<div class="yui-b">
	  <!-- search begin-->
	  <c:import url="/WEB-INF/tpl/_include/_search.jsp" />
      <!-- search over--></div>
		</div>
</div>
</div>


<div class="sline"></div>


<div id="doc4" class="yui-t5">
   <div id="bd">
	<div id="yui-main"><div class="main_L">
	<!--main Left begin-->
	<div class="yui-b ">
	<div class="yui-g font_y font_size16" >简单伊 <span class="font_black">关注的优惠信息...</span></div>
        <div class="yui-g ">
			<c:forEach var="c" items="${result}" varStatus="s">
				<c:set var="info" value="${activity:activity(c.aid)}" />
				<c:set var="expire"
					value="${activity:isExpire(c.endtime)}" /> <c:if
					test="${expire eq 1}">
					<c:set var="css_expire" value="new_t1" />
				</c:if> <c:if test="${expire ne 1}">
					<c:set var="css_expire" value="new_t" />
				</c:if> <span class="${css_expire}">
				  <div class="main_list paddingtop22">
                	<dl>
                    	<dt><p><fmt:formatDate value='${c.endtime}'	pattern='yyyy-MM-dd HH:mm' /></p></dt>
                        <dd>
                        	<h3><ins>已传递<span><c:set var="views" value="${activity:views(info.id, info.views, 0)}" /><c:if
					test="${views ne 0}">	${views)}	</c:if></span>人</ins><b>
					<a href="#"><c:if test="${expire eq 1}">[结束]</c:if>${my:txt(info.title)}</a></b></h3>
                            <p> ${my:substring(my:txt(info.content),100)} </p>
                            <em>所属:
                            <c:if test="${empty c.city}"><span class="black"><a href="${basehost}portal.do${p1}&amp;do=Portal.layout">全国</a></span></c:if>
                             <c:if test="${not empty c.city}"><c:set var="sc" value="${my:city(c.city)}"/><span class="black"><c:if test="${empty sc}"><a href="${basehost}portal.do${p1}&amp;do=Portal.layout">全国</a></c:if><c:if test="${not empty sc}"><a href="${basehost}portal.do${p1}&amp;do=Portal.layout">${my:txt(sc.name)}</a></c:if></span></c:if>
                            </em>
                        </dd>
                    </dl>
                </div>
			</c:forEach>


	</div>
	<div class="sline"></div>
	<div class="yui-g"><!--翻页组件开始--><div class="dotline"></div> <c:import url="/WEB-INF/tpl/tpl/_pager_full2.jsp" /><!--翻页组件结束--></div>
</div>
	</div></div>
	<!--main Left over-->
	<!--main Right begin-->
	<div class="yui-b">
	<!--login begin-->
	 <c:import url="/WEB-INF/tpl/_include/_login.jsp" />
    <!--login over-->

	<div class="sline"></div>

	</div>
	<!--main Right over-->
  </div>

	<div class="clear"></div>

   <div id="ft"><!--footer content begin--><c:import url="/WEB-INF/tpl/tpl/_footer.jsp" /><!--footer content over--></div>
</div>
</body>
</html>
